home *** CD-ROM | disk | FTP | other *** search
- Path: univ-lyon1.fr!news
- From: Laurent GIROUD <milu28@bat710.univ-lyon1.fr>
- Newsgroups: comp.sys.amiga.programmer
- Subject: How to get unit numbers with dos handlers ?
- Date: Tue, 12 Mar 1996 14:07:46 +0100
- Organization: C.I.S.M. Universite de Lyon 1 / INSA de Lyon
- Message-ID: <31457722.6ACA@bat710.univ-lyon1.fr>
- NNTP-Posting-Host: miage.univ-lyon1.fr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.04 9000/856)
-
- Hi everyone here,
-
- I'm currently writing a little C program and needs some informations
- about DOS.
-
- What i'm trying to do is -> being passed (as an argument parsed with
- ReadArg()) a dos device name (DF0:, PC0: DH0: or anyother), how could
- i know how many different units of this device are currently mounted
- by AmigaDOS ?
-
- ie : i've got the string "DF0:" how may i know if other units
- using the trackdisk device and the OFS/FFS are mounted and know their
- names ?
-
- I've been trying to locate the device using LockDosList() and
- FindDosEntry() but it doesn't seem to work. May this come from the
- fact that DF0:, DF1: are actually handlers (although being called
- devices by amigados) ?
-
- Thank you in advance
-
-
- Laurent Giroud
- milu28@bat710.univ-lyon1.fr
-